package me.zhengjie.business.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 照护保险费用明细
 * @author xiahongbo
 * @description
 * @date 2022-08-17
 **/
@Entity
@Data
@Table(name="KC22")
@AllArgsConstructor
@NoArgsConstructor
public class KC22 {


    // 定点机构编码
    @Column(name = "AKB020")
    private String akb020;

    // 住院编码
    @Column(name = "AKC190")
    private String akc190;

    // 处方日期
    @Temporal(TemporalType.DATE)
    @Column(name = "AKC221")
    private Date akc221;

    // 收费项目编码
    @Column(name = "AKC222")
    private String akc222;

    // 收费项目名称
    @Column(name = "AKC223")
    private String akc223;

    // 单价
    @Column(name = "AKC225")
    private BigDecimal akc225;

    // 数量
    @Column(name = "AKC226")
    private BigDecimal akc226;

    // 金额
    @Column(name = "AKC227")
    private BigDecimal akc227;

    // 自理金额
    @Column(name = "AKC228")
    private BigDecimal akc228;

    // 个人自费金额
    @Column(name = "AKC253")
    private BigDecimal akc253;

    // 单据号
    @Column(name = "AAE072")
    private String aae072;

    // 结算ID
    @Id
    @Column(name = "ID")
    private String id;

    // 处方号
    @Column(name = "AKC220")
    private String akc220;

    // 医院收费项目内码
    @Column(name = "AKC515")
    private String akc515;

}
